﻿using System;
using System.Collections.Generic;

namespace Pixels.Logic.Structures
{
    public class TechnoForge : Structure {

        internal override string getName() {
            return "Technoforge";
        }

        internal override void calculateEffects() {
            gameplayEffect.addedResearch += countAssignedColonists(Colonist.Occupation.technician);
        }

        internal override int maxSlots() {            
            return 3;
        }

        protected override bool isColonistTypeAssignable(Colonist.Occupation occupation) {
            return occupation != Colonist.Occupation.soldier;
        }
    }
}
